package com.xand.bt.terminal.market;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MarketReferenceDepth {

	private String reference;
	
	private List<MarketLevel> bids;
	private Map<Long, MarketLevel> bidsHashedByPrice;
	
	private List<MarketLevel> asks;
	private Map<Long, MarketLevel> asksHashedByPrice;
	
	public MarketReferenceDepth(String reference) {
		this.reference = reference;
		
		this.bids = new ArrayList<MarketLevel>();
		this.asks = new ArrayList<MarketLevel>();
		
		this.bidsHashedByPrice = new HashMap<Long, MarketLevel>();
		this.asksHashedByPrice = new HashMap<Long, MarketLevel>();
	}
	
	public String getReference() {

		return this.reference;
		
	}
	
	public List<MarketLevel> getBids() {
		return this.bids;
	}
	
	public Map<Long, MarketLevel> getBidsHashedByPrice() {
		return this.bidsHashedByPrice;
	}
	
	public List<MarketLevel> getAsks() {
		return this.asks;
	}
	
	public Map<Long, MarketLevel> getAsksHashedByPrice() {
		return this.asksHashedByPrice;
	}
	
}
